package com.uzai.console.vo.mini.minigoods;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author liuqi
 * @date 2021年09月01日 19:21
 */
@ApiModel("小程序团购商品信息")
@Data
public class MiniGoodsVo {
    @ApiModelProperty("主键id")
    private Long id;

    @ApiModelProperty("来源（0-官方god平台；1-各运营商自定义）")
    private Integer source;

    @ApiModelProperty("复制官方商品来源Id")
    private Long sourceId;

    @ApiModelProperty("商品id")
    private String itemId;

    @ApiModelProperty("商品标题")
    private String itemTitle;

    @ApiModelProperty("商品原价")
    private Double price;

    @ApiModelProperty("商品团购价")
    private Double tgPrice;

    @ApiModelProperty("图片json字符串")
    private String imgs;

    @ApiModelProperty("图片列表")
    private List<String> imgsList;

    @ApiModelProperty("详情富文本")
    private String detail;

    @ApiModelProperty("总数量")
    private Integer total;

    @ApiModelProperty("库存数量")
    private Integer storeCount;

    @ApiModelProperty("销量")
    private Integer saleCount;

    @ApiModelProperty("点击量")
    private Integer clickCount;

    @ApiModelProperty("发布人")
    private String publishName;

    @ApiModelProperty("发布人头像")
    private String publishHeadImg;

    @ApiModelProperty("发布开始时间")
    private Integer publishStartTime;

    @ApiModelProperty("发布结束时间")
    private Integer publishEndTime;

    @ApiModelProperty("在线状态（0-下架；1-上线）")
    private Integer status;

    @ApiModelProperty("页面排序")
    private Integer pageOrder;

    @ApiModelProperty("是否展示（0-不展示；1-展示）")
    private Integer showStatus;

    @ApiModelProperty("创建时间")
    private Integer createTime;
}
